

package com.dog.basics.service.common;

import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.service.IService;
import com.dog.basics.bean.dto.admin.common.AdminSysConfigAddDto;
import com.dog.basics.bean.dto.admin.common.AdminSysConfigEditDto;
import com.dog.basics.bean.dto.admin.common.AdminSysConfigFromDto;
import com.dog.basics.bean.model.common.SysConfig;
import com.dog.basics.bean.vo.admin.common.AdminSysConfigVo;
import com.dog.basics.bean.vo.api.common.ApiSysConfigVo;
import com.dog.basics.common.util.PageParam;


/**
 * 参数配置
 *
 * @author cy code generator
 * @date 2021-02-20 17:33:09
 */
public interface SysConfigService extends IService<SysConfig> {
    /**
     * @Description: 分页查询
     * @Param: status
     * @return: IPage
     * @Author: wph
     * @Date:
     */
    IPage<AdminSysConfigVo> getAdminPageList(PageParam page, AdminSysConfigFromDto obj);

    /**
     * @Description: 查询详情
     * @Param: obj
     * @return: Boolean
     * @Author: cy
     * @Date: 2020/05/19  0027
     */
    AdminSysConfigVo getAdminObjXq(Long id);
    /**
     * api获取配置信息
     *
     * @param code
     * @return SysConfigPageVo
     * @author fengjukang
     */
    ApiSysConfigVo getApiSysConfig(String code);

    /**
     * @Description: 增加
     * @Param: obj
     * @return: Boolean
     * @Author: cy
     * @Date: 2020/05/19  0027
     */
    Boolean saveAdminObj(AdminSysConfigAddDto obj);

    /**
     * @Description: 修改
     * @Param: obj
     * @return: Boolean
     * @Author: cy
     * @Date: 2020/05/19  0027
     */
    Boolean editAdminObj(AdminSysConfigEditDto obj);

    /**
     * @Description: 删除
     * @Param: ids
     * @return: Boolean
     * @Author: cy
     * @Date: 2020/05/19  0027
     */
    Boolean deleteObj(Long id);

}
